<tr>
    {% for header in headers %}
    <th>{{header}}</th>
    {% endfor %}
</tr>